package com.sunb2b.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Entitlement entity. @author MyEclipse Persistence Tools
 */

public class Entitlement implements java.io.Serializable {

	// Fields

	private Integer id;
	private String name;
	private String status;
	private Set roles = new HashSet(0);

	// Constructors

	/** default constructor */
	public Entitlement() {
	}

	/** minimal constructor */
	public Entitlement(String name) {
		this.name = name;
	}

	/** full constructor */
	public Entitlement(String name, String status, Set roles) {
		this.name = name;
		this.status = status;
		this.roles = roles;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public Set getRoles() {
		return this.roles;
	}

	public void setRoles(Set roles) {
		this.roles = roles;
	}

}